package com.yunxi.sat.pojo;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.yunxi.core.web.DateJsonDeserializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 客户线索
 * </p>
 *
 * @author caoYong
 * @since 2019-07-10
 */
@Data
@ApiModel(value="客户线索 对象", description="客户线索")
public class SatCustomerClueVO implements Serializable {

    @ApiModelProperty(value = "主键ID")
    private String clueId;

    @ApiModelProperty(value = "线索编号")
    private String clueNo;

    @ApiModelProperty(value = "线索类型 1潜客2试驾3订单")
    private String clueType;

    @ApiModelProperty(value = "渠道编号")
    private String partnerCode;

    @ApiModelProperty(value = "客户ID")
    private String customerNo;

    @ApiModelProperty(value = "客户姓名")
    private String customerName;

    @ApiModelProperty(value = "15位码")
    private String vehicleCode;

    @ApiModelProperty(value = "车型名称")
    private String vehicleName;

    @ApiModelProperty(value = "内饰颜色代码")
    private String colorInCode;

    @ApiModelProperty(value = "内饰颜色名称")
    private String colorInName;

    @ApiModelProperty(value = "外饰颜色代码")
    private String colorOutCode;

    @ApiModelProperty(value = "外饰颜色名称")
    private String colorOutName;

    @ApiModelProperty(value = "手机号")
    private String tel;

    @ApiModelProperty(value = "获取时间")
    @JsonDeserialize(using = DateJsonDeserializer.class)
    private Date getDate;

    @ApiModelProperty(value = "线索状态(Clue_GetStatus,0未领取,1已领取,2超时)")
    private Integer isGet;

    @ApiModelProperty(value = "领取人")
    private String getUser;

    @ApiModelProperty(value = "销售顾问编号")
    private String userCode;

    @ApiModelProperty(value = "创建时间")
    @JsonDeserialize(using = DateJsonDeserializer.class)
    private Date createTime;

    @ApiModelProperty(value = "创建人")
    private String createBy;

    @ApiModelProperty(value = "修改时间")
    @JsonDeserialize(using = DateJsonDeserializer.class)
    private Date updateTime;

    @ApiModelProperty(value = "修改人")
    private String updateBy;

    @ApiModelProperty(value = "状态1启用0禁用")
    private Integer status;

    @ApiModelProperty(value = "是否删除")
    private Integer isDel;

    @ApiModelProperty(value = "备注")
    private String memo;

    @ApiModelProperty(value = "分配人")
    private String assignUser;

    @ApiModelProperty(value = "省")
    private String province;

    @ApiModelProperty(value = "市")
    private String city;

    @ApiModelProperty(value = "县")
    private String region;

    @ApiModelProperty(value = "是否自己领取")
    private Integer isSelf;

    @ApiModelProperty(value = "客户线索是否超期(1是,0否)")
    private Integer isOverClueTime;

    @ApiModelProperty(value = "配置名称")
    private String catalogName;

    @ApiModelProperty(value = "销售顾问编号")
    private String salesConsultantNo;

    @ApiModelProperty(value = "线索来源")
    private String clueSource;

    @ApiModelProperty(value = "ITMC录入方式")
    private String itmcComeWay;

    @ApiModelProperty(value = "来电时间")
    private String itmcInDate;

    @ApiModelProperty(value = "去电时间")
    private String itmcOutDate;

    @ApiModelProperty(value = "ITMC顾问")
    private String itmcAdviserCode;

    @ApiModelProperty(value = "展厅销售顾问")
    private String salAdviserCode;

    @ApiModelProperty(value = "性别")
    private String sex;

    @ApiModelProperty(value = "车系")
    private String series;

    @ApiModelProperty(value = "车型")
    private String intentModel;

    @ApiModelProperty(value = "获取信息途径")
    private String getInfoWay;

    @ApiModelProperty(value = "意向级别")
    private String level;

    @ApiModelProperty(value = "下发时间")
    private String createTimeStr;

    @ApiModelProperty(value = "领取时间")
    private String getDateStr;

    @ApiModelProperty(value = "序号")
    private Integer rowNum;

    @ApiModelProperty(value = "顾问名称")
    private String userName;

    @ApiModelProperty(value = "线索超期小时数")
    private Integer clueOverHours;

    @ApiModelProperty(value = "是否创建客户0未创建1已创建")
    private Integer isCreatedCust;

    @ApiModelProperty(value = "分配线索的大区经理")
    private String bigRegionManager;

    @ApiModelProperty(value = "分配时间")
    private Date assignDate;

    @ApiModelProperty(value = "是否提醒(1是,0否)")
    private Integer isRemind;

    @ApiModelProperty(value = "是否提醒小区经理(1是,0否)")
    private Integer isRemindManager;

    @ApiModelProperty(value = "大区code")
    private String pcode;

    @ApiModelProperty(value = "是否是渠道商")
    private String partnerCodeNot;

    @ApiModelProperty(value = "操作人员角色代码")
    private String operaRoleCode;

    @ApiModelProperty(value = "试驾主键ID(业务主键)")
    private String businessKey;

    @ApiModelProperty(value = "渠道商名称")
    private String partnerName;

    @ApiModelProperty(value = "省名称")
    private String provinceName;

    @ApiModelProperty(value = "市名称")
    private String cityName;

    private String loginUserCode;

    //是否为渠道商账户  0 否  1 是
    private Integer isPartner;

    private Date createDate;

    //客户状态  0意向 1订单 2战败 3基盘 4线索
    private Integer custStatus;

    @ApiModelProperty(value = "领取人姓名")
    private String getUserName;

    //	用户一级来源
    private Integer userSource1;
    //	用户二级来源
    private Integer userSource2;
    //	用户三级来源
    private String userSource3;
}
